<!DOCTYPE html>
<!-- saved from url=(0038)http://1618.com/Home/Center/share.html -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>个人中心</title>

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

<include file="./Public/public/public.html" />
    <script>
        $(document).ready(function(){

            $("[action='share']").click(function(){
                $("[popup='share']").reveal();
            });

            var clip = new Clipboard("[action='copy']");
            clip.on('success',function(){
                alert('复制成功');
            });

        })
    </script>


</head>
<body>
<include file="./Public/public/top.html" />

<div class="layout-wrap">
    <!--已审核-->
    <div class="layout">
            <include file="./Public/public/centerLeft.html" />
    <!--  微信分享 -->
    <div popup="share" class="reveal-modal small">
        <a class="close-reveal-modal" action="closeModal">×</a>
        <div class="form-row form-row-s">
            <div class="input-box w100">
                <img src="{:U('User/qrcode')}" style="display:block;margin:auto">
            </div>
            <div class="input-box w100 text-center">
                微信扫一扫，转发给好友
            </div>
            <div class="clr"></div>
        </div>

    </div>

    <div class="right" style="min-height: 882px;">
    <h3>分享推广</h3>
    <div class="cnt-tips">
        <p>您推荐的朋友注册并交易成功后，您将获得每笔成功交易的分成，分成直接打入您的账户余额</p>
    </div>
    <div class="search-wrapper pc-only">
        <div class="form-row form-row-s">
            <div class="input-name-even w15 ">我的邀请码</div>
            <div class="input-box w15 ">
                <span class=" red06">{$user.invit_code}</span>
            </div>
            <div class="input-name-even w10">我的邀请链接</div>
            <div class="input-box w60"><a id="foo">http://batch.com/batchdomaintrans/register/index.html?pusher={$user.invit_code}</a>
                <a class="button-blue button-xs mt5 ml10" style="margin:-5px 0px -5px 10px" action="copy" data-clipboard-target="#foo">复制链接</a>
                <a class="button-blue button-xs mt5 ml10" style="margin:-5px 0px -5px 10px" action="share">分享到微信</a>
            </div>
            <div class="clr"></div>
        </div>

        <div class="form-row form-row-s">
            <!-- <div class="input-name-even w15 ">我的会员等级</div>
            <div class="input-box w15 ">
                vip{$user.crade}            </div> -->
            <div class="input-name-even w10 ">交易分成</div>
            <div class="input-box w20 ">
                0.1%
            </div>
            <div class="input-name-even w10 ">邀请人数</div>
            <div class="input-box w20 ">
                {$count}个
            </div>
            <div class="clr"></div>
        </div>
    </div>
    <div class="split-dot mt10 mb10">
        <div class="filter">
            <form action="{:U('User/share')}" method="post" id="queryForm">
                <select name="queryTime" onchange="javascript:$('#queryForm').submit()">
                    <option value="1" <if condition="$queryTime eq 1">selected="selected"</if> >最近一个月</option>
                    <option value="2" <if condition="$queryTime eq 2">selected="selected"</if> >最近两个月</option>
                    <option value="3" <if condition="$queryTime eq 3">selected="selected"</if> >最近三个月</option>
                    <option value="6" <if condition="$queryTime eq 6">selected="selected"</if> > 最近六个月</option>
                </select>
            </form>
        </div>

        <div class="clr"></div>
    </div>

    <div class="table-wrappper">
        <div class="table table-w200">
            <div class="th">
                <div class="td w20"><span class="ml10">推荐注册好友</span></div>
                <div class="td w40"><span class="ml10">注册时间</span></div>
                <div class="td w40"><span class="ml10">累积交易分成</span></div>
                <div class="clr"></div>
            </div>
            <if condition="$countList neq 0">
				<volist name="list" id="vo">
					<div class="tr domain">
	                     <div class="td w20"><span class="ml10">{$vo.user.username}</span></div>
                     	<div class="td w40"><span class="ml10">{$vo.createdate}</span></div>
                     	<div class="td w40"><span class="ml10">{$vo.trans_layer}</span></div>
	                     <div class="clr"></div>
	                </div>
				</volist>
				<else/>
					<div class="empty" style="height:400px;"></div> 
				</if>           
        </div>
        </div>
    </div>

    <div class="paginate-wrap">
        <div class="dataTables_paginate">
                        <div class="clr"></div>
        </div>
    </div>


    </div>

        <div class="clr"></div>
    </div>

<include file="./Public/public/footer.html" />

</body></html>